package org.example.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "订单统计信息")
public class OrderStats {
    @ApiModelProperty(value = "总订单数", example = "100")
    private Long totalOrders;

    @ApiModelProperty(value = "待支付订单数", example = "10")
    private Long pendingOrders;

    @ApiModelProperty(value = "已完成订单数", example = "80")
    private Long completedOrders;

    @ApiModelProperty(value = "已取消订单数", example = "10")
    private Long cancelledOrders;

    @ApiModelProperty(value = "总金额", example = "99999.99")
    private BigDecimal totalAmount;
} 